/**   
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-09 17:24:08  
 * Copyright (c) 2015- joysuch-版权所有     
 */

package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.bean.tagert.BpTargetDutyBean;
import com.joysuch.wwyt.bp.bean.tagert.BpTargetExamineBean;
import com.joysuch.wwyt.bp.bean.tagert.BpTargetQueryBean;
import com.joysuch.wwyt.core.common.ajax.ResultBean;
import org.springframework.data.domain.Pageable;

public interface BpTargetDutyService {

    ResultBean save(BpTargetDutyBean bean);

    ResultBean get(Long id);

    ResultBean delete(Long id);

    int deleteMark(Long id);

    ResultBean submitAudit(Long id);

    ResultBean audit(Long id, Integer flag);

    ResultBean page(Pageable pageable, BpTargetQueryBean bean);

    ResultBean pageType(Pageable pageable, BpTargetQueryBean bean);

    ResultBean examineRecord(Long id, Integer flag);

    ResultBean examineStart(Long id);

    ResultBean examineSubmit(BpTargetExamineBean bean);

    ResultBean examineRecordDetail(Long recordId);
}
